{*?template charset=utf-8?*}
<div class="content-view-full">
    <div class="class-article">
		{if $node.data_map.video_tip.data_int}
		<strong class="video-tip">Video tip</strong>
		{/if}
        <div class="attribute-header">
            <h1>{attribute_view_gui attribute=$node.object.data_map.title}</h1>
        </div>
		
		{if $node.object.data_map.image.has_content}
            <div class="attribute-main-image">
                {attribute_view_gui attribute=$node.data_map.image image_class=newslarge}
            </div>
        {/if}
		
		<div class="attribute-date">
			<strong>{"Date"|i18n("nxtri/article")}</strong> {$node.data_map.date.content.timestamp|l10n(shortdate)}
		</div>
		
		<div class="attribute-intro">
            {attribute_view_gui attribute=$node.data_map.intro}
        </div>
		
		<div class="attribute-body">
            {attribute_view_gui attribute=$node.data_map.body}
        </div>

		{def $pagedesign_class = fetch( 'content', 'class', hash( 'class_id', 'template_look' ) )}
		{if $pagedesign_class.object_count|eq( 0 )|not}
		    {def $pagedesign = $pagedesign_class.object_list[0]}
		{/if}
		{if $pagedesign.data_map.sharethis.has_content}
		<div class="share">
			{$pagedesign.data_map.sharethis.content}
		</div>
		{/if}
		
		{include uri="design:parts/show_sub_video.tpl"}
		
		
		

        {if $node.object.data_map.ressources.has_content}
            <div class="attribute-ressources">
				<h3>Ressources</h3>
                {attribute_view_gui attribute=$node.object.data_map.ressources class=text_linked render_as_list=true}
            </div>
        {/if}
		{*$node.object.data_map.ressources|attribute( 'show' , 3)*}
		
		

        {* Should we allow comments? *}
        {section show=is_unset( $versionview_mode )}
        {section show=$node.data_map.enable_comments.content}
			<div id="fb-root"></div>
			{literal}
			<script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)[0];
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=367780606573735";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script>
			{/literal}

			<div class="fb-comments" data-href="{concat(ezini( 'SiteSettings', 'SiteURL', 'site.ini' ),$node.url_alias|ezurl('no'))}" data-num-posts="2" data-width="470"></div>
        {/section}
        {/section}

    </div>
</div>